import { ItemInfo } from "./ItemInfo";
type int = number;
//class WardrobeConfigInfo

    export  class WardrobeConfigInfo
    {
        constructor()
        {
            
            this._itemInfoArr = [];
            return;
        }

        public addItem(arg1: ItemInfo): void
        {
            this._itemInfoArr.push(arg1);
            return;
        }

        public get name(): string
        {
            if (this._itemInfoArr.length > 0) 
            {
                return (this._itemInfoArr[0] as ItemInfo).item.name;
            }
            return "";
        }

        public get itemCode(): int
        {
            if (this._itemInfoArr.length > 0) 
            {
                return (this._itemInfoArr[0] as ItemInfo).item.code;
            }
            return 0;
        }

        /* internal */ /* var */_itemInfoArr: Array<any>;
    }
